<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Framework by Gaétan Collaud: Référence de la classe Base</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Généré par Doxygen 1.6.3 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Page&nbsp;principale</span></a></li>
      <li><a href="pages.html"><span>Pages&nbsp;associées</span></a></li>
      <li class="current"><a href="annotated.html"><span>Structures&nbsp;de&nbsp;données</span></a></li>
      <li><a href="files.html"><span>Fichiers</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Structures&nbsp;de&nbsp;données</span></a></li>
      <li><a href="hierarchy.html"><span>Hiérarchie&nbsp;des&nbsp;classes</span></a></li>
      <li><a href="functions.html"><span>Champs&nbsp;de&nbsp;donnée</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Référence de la classe Base</h1><!-- doxytag: class="Base" -->
<p>Clase de <a class="el" href="class_base.html" title="Clase de Base.">Base</a>.  
<a href="#_details">Plus de détails...</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Fonctions membres publiques statiques</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base.html#a2feac7d1ad2212f60c30af8c7cfcb8e7">start</a> ($tpl, $sql)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Démarre le moteur de template et la classe SQL.  <a href="#a2feac7d1ad2212f60c30af8c7cfcb8e7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base.html#ab94c5da06ce1d769ca1b778b9ff7adb1">startSession</a> ($session)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Démarre la session.  <a href="#ab94c5da06ce1d769ca1b778b9ff7adb1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base.html#a22da3843f071e70681fe8aa6512317eb">getTpl</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">returne la référence au moteur de template  <a href="#a22da3843f071e70681fe8aa6512317eb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base.html#a7473e6dbc291bef364f5ef4288edd9d2">getSql</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">retourne la référence à l'objet fesant les transactions avec la base de données.  <a href="#a7473e6dbc291bef364f5ef4288edd9d2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base.html#a736c5884580d1e0381f5b0744796a773">getSession</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">retourne la référence à l'objet session  <a href="#a736c5884580d1e0381f5b0744796a773"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base.html#a9d21b01b0e7abda80e9ab6b8e60653fb">ariane</a> ($t, $url=false)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Ajoute un élément au fil d'ariane.  <a href="#a9d21b01b0e7abda80e9ab6b8e60653fb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base.html#a693b016e5d55ab787d8bbbab4eb5141b">js</a> ($file)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Ajoute un fichier javascript à inclure.  <a href="#a693b016e5d55ab787d8bbbab4eb5141b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base.html#aaff71e8cbe814714cbd5d1b75b782873">jquery</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Ajoute JQuery à la liste des fichiers javascript à inclure.  <a href="#aaff71e8cbe814714cbd5d1b75b782873"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base.html#a6b6489593f8ce7c85bf6d68d8c84faef">css</a> ($file)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Ajoute un fichier css à inclure.  <a href="#a6b6489593f8ce7c85bf6d68d8c84faef"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base.html#a80013e87714ab8e3dc4e410f4c8850e2">parse</a> ($file)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Parse un fichier template avec en début le header.html et en fin le footer.html.  <a href="#a80013e87714ab8e3dc4e410f4c8850e2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base.html#a40257c09e1c815e5fdccf4a644df6143">url</a> ($t)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convertit un texte pour le passer en url.  <a href="#a40257c09e1c815e5fdccf4a644df6143"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base.html#a123e1ae4f970b7332ae264cb521fe372">stripSpecialChar</a> ($t, $rep= '_')</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Remplace tous les caractères qui ne sont pas des chiffres ou des lettres par un autre caractère.  <a href="#a123e1ae4f970b7332ae264cb521fe372"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base.html#a5421c350823d7e27ed637084a986ebfe">html</a> ($t)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Alias de htmlentities mais avec l'encodate UTF-8.  <a href="#a5421c350823d7e27ed637084a986ebfe"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base.html#a16c9df71b1da510040ae63e58227d7fb">timePage</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retourne le temps depuis le début du script.  <a href="#a16c9df71b1da510040ae63e58227d7fb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base.html#a616c2ba67e61f96f0ee9f7beffe06ffc">ajaxRepForm</a> ($msg, $err=false, $reload=0)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retour d'une requête ajax.  <a href="#a616c2ba67e61f96f0ee9f7beffe06ffc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base.html#a78b4a5fd9de967daa1244ecdff93fda0">ajaxDebug</a> ($var)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sert à débuger les retours AJAX, retournera une erreur avec un var_export de la variable.  <a href="#a78b4a5fd9de967daa1244ecdff93fda0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base.html#af60cae508d929f77e84f743c327dc4f0">ajaxError</a> ($ret=false)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Permet de retourner les erreurs PHP lors de requêtes Ajax.  <a href="#af60cae508d929f77e84f743c327dc4f0"></a><br/></td></tr>
<tr><td colspan="2"><h2>Fonctions membres privées statiques</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base.html#a153ee737b553a549f86b113eed339296">endPage</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Déclare toutes les variables de base utile dans les templates.  <a href="#a153ee737b553a549f86b113eed339296"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base.html#a6443997c09450f5fbc2ab33a8bbe430c">endPageAriane</a> ($sT= ':: ', $sA= ' &gt; ')</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Construit le fil d'ariane.  <a href="#a6443997c09450f5fbc2ab33a8bbe430c"></a><br/></td></tr>
<tr><td colspan="2"><h2>Attributs privés statiques</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base.html#a04b1944cdb09f9a4e290cde7a12499e6">$tpl</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base.html#a047170d6020a882807665812a27e2525">$sql</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base.html#abefb3c26429d514777313e9a63d7cbac">$session</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base.html#a553070bd0c5bec47b31e7377ab29f7f6">$ariane</a> = array()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base.html#a747181e96d083c6396169e81e4d2056d">$js</a> = array('base')</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base.html#a5619065f778cf71da2d43cbc4c47a1c4">$css</a> = array()</td></tr>
</table>
<hr/><a name="_details"></a><h2>Description détaillée</h2>
<p>Clase de <a class="el" href="class_base.html" title="Clase de Base.">Base</a>. </p>
<p>Contient toutes les méthodes basique utile pour le site. </p>
<dl class="author"><dt><b>Auteur:</b></dt><dd>Gaetan Collaud </dd></dl>
<hr/><h2>Documentation des fonctions membres</h2>
<a class="anchor" id="a78b4a5fd9de967daa1244ecdff93fda0"></a><!-- doxytag: member="Base::ajaxDebug" ref="a78b4a5fd9de967daa1244ecdff93fda0" args="($var)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static ajaxDebug </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>var</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sert à débuger les retours AJAX, retournera une erreur avec un var_export de la variable. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>Mixed</em>&nbsp;</td><td>$var la variable à tester </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="af60cae508d929f77e84f743c327dc4f0"></a><!-- doxytag: member="Base::ajaxError" ref="af60cae508d929f77e84f743c327dc4f0" args="($ret=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static ajaxError </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>ret</em> = <code>false</code></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Permet de retourner les erreurs PHP lors de requêtes Ajax. </p>
<p>Utiliser sans argument au début du script et avec $ret à true juste après l'erreur suposée. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>Boolean</em>&nbsp;</td><td>$ret s'il faut retourner l'erreur </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a616c2ba67e61f96f0ee9f7beffe06ffc"></a><!-- doxytag: member="Base::ajaxRepForm" ref="a616c2ba67e61f96f0ee9f7beffe06ffc" args="($msg, $err=false, $reload=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static ajaxRepForm </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>msg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>err</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>reload</em> = <code>0</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retour d'une requête ajax. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>String</em>&nbsp;</td><td>$msg le message </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>boolean</em>&nbsp;</td><td>$err s'il y a eu une erreur </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>int</em>&nbsp;</td><td>$reload le temps après lequel la page sera rechargée (0 = pas de rechargement) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a9d21b01b0e7abda80e9ab6b8e60653fb"></a><!-- doxytag: member="Base::ariane" ref="a9d21b01b0e7abda80e9ab6b8e60653fb" args="($t, $url=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static ariane </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>t</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>url</em> = <code>false</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Ajoute un élément au fil d'ariane. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>String</em>&nbsp;</td><td>$t le nom de l'élément </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>String</em>&nbsp;</td><td>$url le lien de l'élément </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a6b6489593f8ce7c85bf6d68d8c84faef"></a><!-- doxytag: member="Base::css" ref="a6b6489593f8ce7c85bf6d68d8c84faef" args="($file)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static css </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>file</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Ajoute un fichier css à inclure. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>String</em>&nbsp;</td><td>$file le nom du fichier css </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a153ee737b553a549f86b113eed339296"></a><!-- doxytag: member="Base::endPage" ref="a153ee737b553a549f86b113eed339296" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static endPage </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Déclare toutes les variables de base utile dans les templates. </p>

</div>
</div>
<a class="anchor" id="a6443997c09450f5fbc2ab33a8bbe430c"></a><!-- doxytag: member="Base::endPageAriane" ref="a6443997c09450f5fbc2ab33a8bbe430c" args="($sT= ':: ', $sA= ' &gt; ')" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static endPageAriane </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>sT</em> = <code>'&nbsp;::&nbsp;'</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>sA</em> = <code>'</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"> '&nbsp;</td>
          <td class="paramname"></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Construit le fil d'ariane. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>String</em>&nbsp;</td><td>$sT séparateur pour le titre </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>String</em>&nbsp;</td><td>$sA séparateur pour le fil d'ariane </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a736c5884580d1e0381f5b0744796a773"></a><!-- doxytag: member="Base::getSession" ref="a736c5884580d1e0381f5b0744796a773" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static&amp; getSession </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>retourne la référence à l'objet session </p>
<dl class="return"><dt><b>Renvoie:</b></dt><dd><a class="el" href="class_session.html" title="La classe Session.">Session</a> référence à la session </dd></dl>

</div>
</div>
<a class="anchor" id="a7473e6dbc291bef364f5ef4288edd9d2"></a><!-- doxytag: member="Base::getSql" ref="a7473e6dbc291bef364f5ef4288edd9d2" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static&amp; getSql </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>retourne la référence à l'objet fesant les transactions avec la base de données. </p>
<dl class="return"><dt><b>Renvoie:</b></dt><dd><a class="el" href="interface_itf_sql.html" title="Interface des classes de gestion de base de données.">ItfSql</a> référence à la BDD </dd></dl>

</div>
</div>
<a class="anchor" id="a22da3843f071e70681fe8aa6512317eb"></a><!-- doxytag: member="Base::getTpl" ref="a22da3843f071e70681fe8aa6512317eb" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static&amp; getTpl </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>returne la référence au moteur de template </p>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>Tpl référence au moteur de template </dd></dl>

</div>
</div>
<a class="anchor" id="a5421c350823d7e27ed637084a986ebfe"></a><!-- doxytag: member="Base::html" ref="a5421c350823d7e27ed637084a986ebfe" args="($t)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static html </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>t</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Alias de htmlentities mais avec l'encodate UTF-8. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>String</em>&nbsp;</td><td>$t le texte à convertir </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>String le texte convertit </dd></dl>

</div>
</div>
<a class="anchor" id="aaff71e8cbe814714cbd5d1b75b782873"></a><!-- doxytag: member="Base::jquery" ref="aaff71e8cbe814714cbd5d1b75b782873" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static jquery </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Ajoute JQuery à la liste des fichiers javascript à inclure. </p>

</div>
</div>
<a class="anchor" id="a693b016e5d55ab787d8bbbab4eb5141b"></a><!-- doxytag: member="Base::js" ref="a693b016e5d55ab787d8bbbab4eb5141b" args="($file)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static js </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>file</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Ajoute un fichier javascript à inclure. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>String</em>&nbsp;</td><td>$file le nom du fichier </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a80013e87714ab8e3dc4e410f4c8850e2"></a><!-- doxytag: member="Base::parse" ref="a80013e87714ab8e3dc4e410f4c8850e2" args="($file)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static parse </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>file</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Parse un fichier template avec en début le header.html et en fin le footer.html. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>String</em>&nbsp;</td><td>$file le fichier à parser </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a2feac7d1ad2212f60c30af8c7cfcb8e7"></a><!-- doxytag: member="Base::start" ref="a2feac7d1ad2212f60c30af8c7cfcb8e7" args="($tpl, $sql)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static start </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>tpl</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>sql</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Démarre le moteur de template et la classe SQL. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="class_gagatemplate.html" title="Classe Gagatemplate, c&#39;est la classe de base du moteur de template, c&#39;est...">Gagatemplate</a></em>&nbsp;</td><td>$tpl le moteur de template </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>Sql</em>&nbsp;</td><td>$sql l'objet SQL </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab94c5da06ce1d769ca1b778b9ff7adb1"></a><!-- doxytag: member="Base::startSession" ref="ab94c5da06ce1d769ca1b778b9ff7adb1" args="($session)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static startSession </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>session</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Démarre la session. </p>
<p>Doit être fait après <a class="el" href="class_base.html#a2feac7d1ad2212f60c30af8c7cfcb8e7" title="Démarre le moteur de template et la classe SQL.">start()</a> car la session peut utiliser les requêtes SQL. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="class_session.html" title="La classe Session.">Session</a></em>&nbsp;</td><td>$session l'objet session </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a123e1ae4f970b7332ae264cb521fe372"></a><!-- doxytag: member="Base::stripSpecialChar" ref="a123e1ae4f970b7332ae264cb521fe372" args="($t, $rep= '_')" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static stripSpecialChar </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>t</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>rep</em> = <code>'_'</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Remplace tous les caractères qui ne sont pas des chiffres ou des lettres par un autre caractère. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>String</em>&nbsp;</td><td>$t le texte à convertir </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>String</em>&nbsp;</td><td>$rep le texte de remplacement </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>String le texte convertit </dd></dl>

</div>
</div>
<a class="anchor" id="a16c9df71b1da510040ae63e58227d7fb"></a><!-- doxytag: member="Base::timePage" ref="a16c9df71b1da510040ae63e58227d7fb" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static timePage </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retourne le temps depuis le début du script. </p>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>float le temps en seconde </dd></dl>

</div>
</div>
<a class="anchor" id="a40257c09e1c815e5fdccf4a644df6143"></a><!-- doxytag: member="Base::url" ref="a40257c09e1c815e5fdccf4a644df6143" args="($t)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static url </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>t</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Convertit un texte pour le passer en url. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>String</em>&nbsp;</td><td>$t le texte à convertir </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>String le texte convertit </dd></dl>

</div>
</div>
<hr/><h2>Documentation des champs</h2>
<a class="anchor" id="a553070bd0c5bec47b31e7377ab29f7f6"></a><!-- doxytag: member="Base::$ariane" ref="a553070bd0c5bec47b31e7377ab29f7f6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$ariane = array()<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a5619065f778cf71da2d43cbc4c47a1c4"></a><!-- doxytag: member="Base::$css" ref="a5619065f778cf71da2d43cbc4c47a1c4" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$css = array()<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a747181e96d083c6396169e81e4d2056d"></a><!-- doxytag: member="Base::$js" ref="a747181e96d083c6396169e81e4d2056d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$js = array('base')<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="abefb3c26429d514777313e9a63d7cbac"></a><!-- doxytag: member="Base::$session" ref="abefb3c26429d514777313e9a63d7cbac" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$session<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a047170d6020a882807665812a27e2525"></a><!-- doxytag: member="Base::$sql" ref="a047170d6020a882807665812a27e2525" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$sql<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a04b1944cdb09f9a4e290cde7a12499e6"></a><!-- doxytag: member="Base::$tpl" ref="a04b1944cdb09f9a4e290cde7a12499e6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$tpl<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/>La documentation de cette classe a été générée à partir du fichier suivant :<ul>
<li>libs/<a class="el" href="_base_8php.html">Base.php</a></li>
</ul>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Généré le Sun May 30 20:39:44 2010 pour Framework by Gaétan Collaud par&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
